<?php

	class Service implements iModel {
		
		public $serviceId;
		public $name;

		public function __construct() {
			
		}
		
		public function getServiceId() {
			 return $this->serviceId; 
		} 
		
		public function getName() {
			 return $this->name; 
		}
		 
		public function setServiceId($serviceId) {
			 $this->serviceId = $serviceId; 
		}
		 
		public function setName($name) {
			 $this->name = $name; 
		}
		
		public function JSONToObject($serviceJSON) {
			
			$this->setServiceId($serviceJSON->serviceId);
			$this->setName($serviceJSON->name);
		}
		
	}

?>